import 'package:flutter/material.dart';

class AppTheme {
  static const double bodyFontSize = 14;
  static const double smallFontSize = 16;
  static const double normalFontSize = 22;
  static const double largeFontSize = 24;

  static final ThemeData normalTheme = ThemeData(
      primarySwatch: Colors.pink,
      accentColor: Colors.amber,
      // 全局背景色
      canvasColor: Color.fromRGBO(255, 254, 222, 1),
      textTheme: TextTheme(
        headline4: TextStyle(fontSize: smallFontSize, color: Colors.black87),
        headline5: TextStyle(fontSize: normalFontSize, color: Colors.black87),
        headline6: TextStyle(fontSize: largeFontSize, color: Colors.black87),
        bodyText2: TextStyle(fontSize: bodyFontSize, color: Colors.black87),
      ));
}
